package vue;

import java.awt.Graphics;
import java.awt.Image;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;

/**
 *Le pannel qui affiche le menu principal
 * @author Shaance
 */
public class MainMenuPanel extends PanneauBox {

    @Override
    public void paintComponent(Graphics g) {
        try {
            Image img = ImageIO.read(new File("menubackground.png"));
            g.drawImage(img, 0, 0, this);
        } catch (IOException e) {
        }
    }
}
